package Presentation;

import javax.swing.JLabel;
import javax.swing.SwingConstants;

public class MyLabel extends JLabel{
	
	public MyLabel(String text, int width, int heigth, int x, int y){
		super(text);
		//setHorizontalAlignment(SwingConstants.CENTER);
		//setVerticalAlignment(SwingConstants.CENTER);
		setSize(width,heigth);
		setLocation(x,y);		
	}

}
